@@ -49,7 +49,7 @@ android {
|
||
| 49 | 49 |
zipAlignEnabled false |
| 50 | 50 |
minifyEnabled false |
| 51 | 51 |
shrinkResources false |
| 52 |
- buildConfigField "boolean", "isTestMode", "true" |
|
| 52 |
+ buildConfigField "boolean", "isTestMode", "false" |
|
| 53 | 53 |
signingConfig signingConfigs.releaseConfig |
| 54 | 54 |
} |
| 55 | 55 |
} |
@@ -130,7 +130,7 @@ public class PrinterSettingActivity extends BaseActivity implements PrinterSetti |
||
| 130 | 130 |
|
| 131 | 131 |
@OnClick(R.id.btn_print_qr) |
| 132 | 132 |
void printerQR(){
|
| 133 |
- presenter.printQR(qrcode); |
|
| 133 |
+ presenter.printQR("http://pai.ai/s/"+qrcode);
|
|
| 134 | 134 |
} |
| 135 | 135 |
|
| 136 | 136 |
@OnClick(R.id.title_bar_back_layout) |
@@ -101,7 +101,7 @@ public class SessionActivity extends BaseActivity implements SessionContract.Vie |
||
| 101 | 101 |
@OnClick(R.id.iv_qrcode) |
| 102 | 102 |
void showQRCodeForSession(){
|
| 103 | 103 |
Intent intent = new Intent(this,PrinterSettingActivity.class); |
| 104 |
- intent.putExtra("qrcode", UrlContainer.HOST_URL+sessionBean.sessionId);
|
|
| 104 |
+ intent.putExtra("qrcode",sessionBean.sessionId);
|
|
| 105 | 105 |
startActivity(intent); |
| 106 | 106 |
} |
| 107 | 107 |
|